package com.huabo.audit.oracle.entity;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;
import java.util.Set;

import javax.persistence.Transient;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.huabo.audit.config.IgnoreSwaggerParameter;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * 会议纪要
 */

@TableName("TBL_NBSJ_ENTERMEETING")
@Data
@ApiModel("进场纪要实体类")
@Accessors(chain = true)
public class TblNbsjEntermeetingEntity {
	
	public final static Integer NO_DEL=0;//未删除
	public final static Integer YE_DEL=1;//已删除
	
    @TableId(value = "enterid", type= IdType.AUTO)
    @ApiModelProperty(value = "纪要id")
    private BigDecimal enterid;

    @TableField(value = "entercoed")
    @ApiModelProperty(value = "进场纪要编号")
    private String entercoed;

    @TableField(value = "entername")
    @ApiModelProperty(value = "进场纪要名称")
    private String entername;

    @TableField(value = "creatrtime")
    @ApiModelProperty(value="开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date creatrtime;

    @TableField(value = "status")
    @ApiModelProperty(value = "状态",hidden = true)
    private String status;

    @TableField(value = "content")
    @ApiModelProperty(value = "内容")
    private String content;
    
    @TableField(value = "createstaffid")
    @ApiModelProperty(value = "")
    private String createstaffid;

    
    @TableField(exist = false)
    @Transient
    @ApiModelProperty(value = "附件信息",hidden = true)
    @IgnoreSwaggerParameter
    private List<TblAttachment> attachmentInfoList;
    
    @TableField(exist = false)
    @Transient
    @ApiModelProperty(value = "",hidden = true)
    @IgnoreSwaggerParameter
    private Set<TblAttachment> tblMetAtts;
    
    @TableField(exist = false)
    @Transient
    @ApiModelProperty(value = "项目",hidden = true)
    @IgnoreSwaggerParameter
    private TblNbsjProject project;
    
    @Transient
    @TableField(exist = false)
    @ApiModelProperty(value = "创建人",hidden = true)
    @IgnoreSwaggerParameter
    private TblStaff tblCreater;
    
    
}
